package cn.funeralobjects.aoss.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;

/**
 * @author FuneralObjects
 * Create date: 2020/6/8 9:33 AM
 */
@Data
@Accessors(chain = true)
@Table(name = "t_bucket_ram")
@Entity
public class EBucketRam {
    @Id
    private Integer bucketId;
    private String ramRoleCode;

    @OneToOne
    @PrimaryKeyJoinColumn(name = "bucket_id")
    private EBucket bucket;
}
